package org.client.iot.ui.device.monitorDataFragment;

import static org.client.iot.constant.GlobeConstant.MonitorData.ARG_DATA;

import android.os.Bundle;

import android.view.View;

import org.client.iot.databinding.FragmentMonitorDataDetailBinding;
import org.client.iot.domain.MonitorData;
import org.tzw.template.base.BaseFragment;

public class MonitorDataDetailFragment extends BaseFragment<FragmentMonitorDataDetailBinding> {

    public static MonitorDataDetailFragment newInstance(MonitorData data) {
        MonitorDataDetailFragment fragment = new MonitorDataDetailFragment();
        Bundle args = new Bundle();
        args.putParcelable(ARG_DATA, data);
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    protected void initData(View view) {
        MonitorData data = requireArguments().getParcelable(ARG_DATA);
        // 使用数据初始化详情界面
    }
    @Override
    protected void initView(View view) {

    }
    @Override
    protected void initListener() {

    }


}